/*
 * Copyright (C) 2010 Tetsuya Yasuda <tetsuyayasuda@gmail.com>
 */
package jp.tyas.libs.terminal;

import java.io.InputStream;
import java.io.OutputStream;

public class StandardTerminal implements Terminal
{
  public Connection openConnection() {
    return new Connection() {

      public InputStream getInputStream() {
        return System.in;
      }
            
      public OutputStream getOutputStream() {
        return System.out;
      }

      public boolean setProperty (String key, Object value) {
        return false;
      }

      public Object getProperty (String key) {
        return null;
      }

      public void close () {
      }
    };
  }
}
